package com.hyt.model.cloudefile.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *  文件记录表
 * </p>
 *
 * @author  huangw
 * @since 2022-08-30	
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cloude_file_project_task")
@ApiModel(value="CloudeFileProjectTask对象", description="文件队列")
public class CloudeFileProjectTask extends BaseEntity {

    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "项目id")
    private String projectId;

    @ApiModelProperty(value = "机构id")
    private String officeId;

    @ApiModelProperty(value = "部门id")
    private String deptId;
    
    @ApiModelProperty(value = "操作类型,OperateTypeEnum定义")
	private String operateType;
	
	@ApiModelProperty(value = "文件类型,FileTypeEnum定义")
	private String fileType;
	
    @ApiModelProperty(value = "文件处理key,JobKeyEnum定义")
    private String fileKey;

    @ApiModelProperty(value = "文件地址")
    private String fileUrl;

    @ApiModelProperty(value = "文件状态， FileStatusEnum定义。")
    private String status;
    
    @ApiModelProperty(value = "动态参数")
	private String params;

    @ApiModelProperty(value = "进度条id")
    private String progressId;

    @ApiModelProperty(value = "进度条进度百分比保留两位小数，不带百分号")
    private String progressPercentage;
}
